﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="dsThongTinKiemKe" targetNamespace="http://tempuri.org/dsThongTinKiemKe.xsd" xmlns:mstns="http://tempuri.org/dsThongTinKiemKe.xsd" xmlns="http://tempuri.org/dsThongTinKiemKe.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="QLVTConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="QLVTConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.DevEx.Properties.Settings.GlobalReference.Default.QLVTConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="sp_T_LayThongTinKiemKeTableAdapter" GeneratorDataComponentClassName="sp_T_LayThongTinKiemKeTableAdapter" Name="sp_T_LayThongTinKiemKe" UserDataComponentName="sp_T_LayThongTinKiemKeTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="QLVTConnectionString (Settings)" DbObjectName="VatTuA41.dbo.sp_T_LayThongTinKiemKe" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.sp_T_LayThongTinKiemKe</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@dotKK" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID_KiemKe" DataSetColumn="ID_KiemKe" />
              <Mapping SourceColumn="DotKiemKe" DataSetColumn="DotKiemKe" />
              <Mapping SourceColumn="ID_MatHang" DataSetColumn="ID_MatHang" />
              <Mapping SourceColumn="SLKKOld" DataSetColumn="SLKKOld" />
              <Mapping SourceColumn="SLTang" DataSetColumn="SLTang" />
              <Mapping SourceColumn="SLGiam" DataSetColumn="SLGiam" />
              <Mapping SourceColumn="SLSS" DataSetColumn="SLSS" />
              <Mapping SourceColumn="SLKK" DataSetColumn="SLKK" />
              <Mapping SourceColumn="SLThua" DataSetColumn="SLThua" />
              <Mapping SourceColumn="SLThieu" DataSetColumn="SLThieu" />
              <Mapping SourceColumn="SLCCL1" DataSetColumn="SLCCL1" />
              <Mapping SourceColumn="SLCCL2" DataSetColumn="SLCCL2" />
              <Mapping SourceColumn="SLCCL3a" DataSetColumn="SLCCL3a" />
              <Mapping SourceColumn="SLCCL3b" DataSetColumn="SLCCL3b" />
              <Mapping SourceColumn="SLKhoBo" DataSetColumn="SLKhoBo" />
              <Mapping SourceColumn="SLKhoDV" DataSetColumn="SLKhoDV" />
              <Mapping SourceColumn="SLCSSX" DataSetColumn="SLCSSX" />
              <Mapping SourceColumn="SLDieuDi" DataSetColumn="SLDieuDi" />
              <Mapping SourceColumn="SLThanhLy" DataSetColumn="SLThanhLy" />
              <Mapping SourceColumn="GhiChu" DataSetColumn="GhiChu" />
              <Mapping SourceColumn="VatTu" DataSetColumn="VatTu" />
              <Mapping SourceColumn="MaKyHieu" DataSetColumn="MaKyHieu" />
              <Mapping SourceColumn="DVT" DataSetColumn="DVT" />
              <Mapping SourceColumn="Gia" DataSetColumn="Gia" />
              <Mapping SourceColumn="Kho" DataSetColumn="Kho" />
              <Mapping SourceColumn="TienKK" DataSetColumn="TienKK" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="dsThongTinKiemKe" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dsThongTinKiemKe" msprop:Generator_UserDSName="dsThongTinKiemKe">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="sp_T_LayThongTinKiemKe" msprop:Generator_TableClassName="sp_T_LayThongTinKiemKeDataTable" msprop:Generator_TableVarName="tablesp_T_LayThongTinKiemKe" msprop:Generator_TablePropName="sp_T_LayThongTinKiemKe" msprop:Generator_RowDeletingName="sp_T_LayThongTinKiemKeRowDeleting" msprop:Generator_UserTableName="sp_T_LayThongTinKiemKe" msprop:Generator_RowChangingName="sp_T_LayThongTinKiemKeRowChanging" msprop:Generator_RowEvHandlerName="sp_T_LayThongTinKiemKeRowChangeEventHandler" msprop:Generator_RowDeletedName="sp_T_LayThongTinKiemKeRowDeleted" msprop:Generator_RowEvArgName="sp_T_LayThongTinKiemKeRowChangeEvent" msprop:Generator_RowChangedName="sp_T_LayThongTinKiemKeRowChanged" msprop:Generator_RowClassName="sp_T_LayThongTinKiemKeRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID_KiemKe" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnID_KiemKe" msprop:Generator_ColumnPropNameInRow="ID_KiemKe" msprop:Generator_ColumnPropNameInTable="ID_KiemKeColumn" msprop:Generator_UserColumnName="ID_KiemKe" type="xs:int" />
              <xs:element name="DotKiemKe" msprop:Generator_ColumnVarNameInTable="columnDotKiemKe" msprop:Generator_ColumnPropNameInRow="DotKiemKe" msprop:Generator_ColumnPropNameInTable="DotKiemKeColumn" msprop:Generator_UserColumnName="DotKiemKe" type="xs:int" minOccurs="0" />
              <xs:element name="ID_MatHang" msprop:Generator_ColumnVarNameInTable="columnID_MatHang" msprop:Generator_ColumnPropNameInRow="ID_MatHang" msprop:Generator_ColumnPropNameInTable="ID_MatHangColumn" msprop:Generator_UserColumnName="ID_MatHang" type="xs:int" minOccurs="0" />
              <xs:element name="SLKKOld" msprop:Generator_ColumnVarNameInTable="columnSLKKOld" msprop:Generator_ColumnPropNameInRow="SLKKOld" msprop:Generator_ColumnPropNameInTable="SLKKOldColumn" msprop:Generator_UserColumnName="SLKKOld" type="xs:double" minOccurs="0" />
              <xs:element name="SLTang" msprop:Generator_ColumnVarNameInTable="columnSLTang" msprop:Generator_ColumnPropNameInRow="SLTang" msprop:Generator_ColumnPropNameInTable="SLTangColumn" msprop:Generator_UserColumnName="SLTang" type="xs:double" minOccurs="0" />
              <xs:element name="SLGiam" msprop:Generator_ColumnVarNameInTable="columnSLGiam" msprop:Generator_ColumnPropNameInRow="SLGiam" msprop:Generator_ColumnPropNameInTable="SLGiamColumn" msprop:Generator_UserColumnName="SLGiam" type="xs:double" minOccurs="0" />
              <xs:element name="SLSS" msprop:Generator_ColumnVarNameInTable="columnSLSS" msprop:Generator_ColumnPropNameInRow="SLSS" msprop:Generator_ColumnPropNameInTable="SLSSColumn" msprop:Generator_UserColumnName="SLSS" type="xs:double" minOccurs="0" />
              <xs:element name="SLKK" msprop:Generator_ColumnVarNameInTable="columnSLKK" msprop:Generator_ColumnPropNameInRow="SLKK" msprop:Generator_ColumnPropNameInTable="SLKKColumn" msprop:Generator_UserColumnName="SLKK" type="xs:double" minOccurs="0" />
              <xs:element name="SLThua" msprop:Generator_ColumnVarNameInTable="columnSLThua" msprop:Generator_ColumnPropNameInRow="SLThua" msprop:Generator_ColumnPropNameInTable="SLThuaColumn" msprop:Generator_UserColumnName="SLThua" type="xs:double" minOccurs="0" />
              <xs:element name="SLThieu" msprop:Generator_ColumnVarNameInTable="columnSLThieu" msprop:Generator_ColumnPropNameInRow="SLThieu" msprop:Generator_ColumnPropNameInTable="SLThieuColumn" msprop:Generator_UserColumnName="SLThieu" type="xs:double" minOccurs="0" />
              <xs:element name="SLCCL1" msprop:Generator_ColumnVarNameInTable="columnSLCCL1" msprop:Generator_ColumnPropNameInRow="SLCCL1" msprop:Generator_ColumnPropNameInTable="SLCCL1Column" msprop:Generator_UserColumnName="SLCCL1" type="xs:double" minOccurs="0" />
              <xs:element name="SLCCL2" msprop:Generator_ColumnVarNameInTable="columnSLCCL2" msprop:Generator_ColumnPropNameInRow="SLCCL2" msprop:Generator_ColumnPropNameInTable="SLCCL2Column" msprop:Generator_UserColumnName="SLCCL2" type="xs:double" minOccurs="0" />
              <xs:element name="SLCCL3a" msprop:Generator_ColumnVarNameInTable="columnSLCCL3a" msprop:Generator_ColumnPropNameInRow="SLCCL3a" msprop:Generator_ColumnPropNameInTable="SLCCL3aColumn" msprop:Generator_UserColumnName="SLCCL3a" type="xs:double" minOccurs="0" />
              <xs:element name="SLCCL3b" msprop:Generator_ColumnVarNameInTable="columnSLCCL3b" msprop:Generator_ColumnPropNameInRow="SLCCL3b" msprop:Generator_ColumnPropNameInTable="SLCCL3bColumn" msprop:Generator_UserColumnName="SLCCL3b" type="xs:double" minOccurs="0" />
              <xs:element name="SLKhoBo" msprop:Generator_ColumnVarNameInTable="columnSLKhoBo" msprop:Generator_ColumnPropNameInRow="SLKhoBo" msprop:Generator_ColumnPropNameInTable="SLKhoBoColumn" msprop:Generator_UserColumnName="SLKhoBo" type="xs:double" minOccurs="0" />
              <xs:element name="SLKhoDV" msprop:Generator_ColumnVarNameInTable="columnSLKhoDV" msprop:Generator_ColumnPropNameInRow="SLKhoDV" msprop:Generator_ColumnPropNameInTable="SLKhoDVColumn" msprop:Generator_UserColumnName="SLKhoDV" type="xs:double" minOccurs="0" />
              <xs:element name="SLCSSX" msprop:Generator_ColumnVarNameInTable="columnSLCSSX" msprop:Generator_ColumnPropNameInRow="SLCSSX" msprop:Generator_ColumnPropNameInTable="SLCSSXColumn" msprop:Generator_UserColumnName="SLCSSX" type="xs:double" minOccurs="0" />
              <xs:element name="SLDieuDi" msprop:Generator_ColumnVarNameInTable="columnSLDieuDi" msprop:Generator_ColumnPropNameInRow="SLDieuDi" msprop:Generator_ColumnPropNameInTable="SLDieuDiColumn" msprop:Generator_UserColumnName="SLDieuDi" type="xs:double" minOccurs="0" />
              <xs:element name="SLThanhLy" msprop:Generator_ColumnVarNameInTable="columnSLThanhLy" msprop:Generator_ColumnPropNameInRow="SLThanhLy" msprop:Generator_ColumnPropNameInTable="SLThanhLyColumn" msprop:Generator_UserColumnName="SLThanhLy" type="xs:double" minOccurs="0" />
              <xs:element name="GhiChu" msprop:Generator_ColumnVarNameInTable="columnGhiChu" msprop:Generator_ColumnPropNameInRow="GhiChu" msprop:Generator_ColumnPropNameInTable="GhiChuColumn" msprop:Generator_UserColumnName="GhiChu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="VatTu" msprop:Generator_ColumnVarNameInTable="columnVatTu" msprop:Generator_ColumnPropNameInRow="VatTu" msprop:Generator_ColumnPropNameInTable="VatTuColumn" msprop:Generator_UserColumnName="VatTu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MaKyHieu" msprop:Generator_ColumnVarNameInTable="columnMaKyHieu" msprop:Generator_ColumnPropNameInRow="MaKyHieu" msprop:Generator_ColumnPropNameInTable="MaKyHieuColumn" msprop:Generator_UserColumnName="MaKyHieu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="DVT" msprop:Generator_ColumnVarNameInTable="columnDVT" msprop:Generator_ColumnPropNameInRow="DVT" msprop:Generator_ColumnPropNameInTable="DVTColumn" msprop:Generator_UserColumnName="DVT" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Gia" msprop:Generator_ColumnVarNameInTable="columnGia" msprop:Generator_ColumnPropNameInRow="Gia" msprop:Generator_ColumnPropNameInTable="GiaColumn" msprop:Generator_UserColumnName="Gia" type="xs:double" minOccurs="0" />
              <xs:element name="Kho" msprop:Generator_ColumnVarNameInTable="columnKho" msprop:Generator_ColumnPropNameInRow="Kho" msprop:Generator_ColumnPropNameInTable="KhoColumn" msprop:Generator_UserColumnName="Kho" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TienKK" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnTienKK" msprop:Generator_ColumnPropNameInRow="TienKK" msprop:Generator_ColumnPropNameInTable="TienKKColumn" msprop:Generator_UserColumnName="TienKK" type="xs:double" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:sp_T_LayThongTinKiemKe" />
      <xs:field xpath="mstns:ID_KiemKe" />
    </xs:unique>
  </xs:element>
</xs:schema>